﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace DBSchemaViewer.BackEnd.Entities.MetaEntities
{
    public class DatabaseType
    {
        public int DBType { get; set; }
        public string Description { get; set; }
        public int Length { get; set; }
        public bool lengthCanBeEditable { get; set; }
    }

    public class DatabaseTypeCollection : List<DatabaseType>
    {
    }

    //public static DBTypeEnumerationCollection __currentDBTypeEnumeration = new
   /* public static class ConstAndMetaData
    {
        public static DatabaseTypeCollection CurrentDBTypeEnumeration = new DatabaseTypeCollection();

        static ConstAndMetaData()
        {
            DatabaseType currEnumeration = new DatabaseType();
            currEnumeration.DBType = 0;
            currEnumeration.Description = "Integer";
            currEnumeration.Length = -1;
            currEnumeration.lengthCanBeEditable = false;
            CurrentDBTypeEnumeration.Add(currEnumeration);

            currEnumeration = new DatabaseType();
            currEnumeration.DBType = 1;
            currEnumeration.Description = "VarChar";
            currEnumeration.Length = 40;
            currEnumeration.lengthCanBeEditable = true;
            CurrentDBTypeEnumeration.Add(currEnumeration);

            currEnumeration = new DatabaseType();
            currEnumeration.DBType = 2;
            currEnumeration.Description = "Bool";
            currEnumeration.Length = -1;
            currEnumeration.lengthCanBeEditable = false;

            CurrentDBTypeEnumeration.Add(currEnumeration);

        }
    }*/
}
